fname = input("请输入要打开的文件:")
fo = open("my.txt","r")
for line in fo:
    print(line)
fo.close()
